package com.gp.wjy.service.impl;

import com.gp.entity.Property;
import com.gp.wjy.dao.PropertyDao;
import com.gp.wjy.service.PropertyService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * (Property)表服务实现类
 *
 * @author makejava
 * @since 2024-04-22 17:24:29
 */
@Service
public class PropertyServiceImpl implements PropertyService {
    @Resource
    private PropertyDao propertyDao;

    /**
     * 通过ID查询单条数据
     *
     * @param id 主键
     * @return 实例对象
     */
    @Override
    public Property queryById(Long id) {
        return this.propertyDao.queryById(id);
    }

}
